﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;
using WMSmanagement.IBaseService.PurchasingManagement.Dto;

namespace WMSmanagement.IBaseService.PurchasingManagement
{
    public interface IProcurementService : IApplicationService
    {
        /// <summary>
        /// 采购管理列表
        /// </summary>
        /// <returns></returns>
        Task<string> GetProcurementAsync(string procurementCode = "", string productCode = "", string productName = "", string state = "", int page = 1, int limit = 10);
        /// <summary>
        /// 添加管理列表
        /// </summary>
        /// <returns></returns>
        Task<int> AddProcurementAsync(AddProcurementDto addProcurementDto);
        /// <summary>
        /// 删除管理列表
        /// </summary>
        /// <returns></returns>
        Task<int> DeleteProcurementAsync(int id);
        /// <summary>
        /// 修改管理列表
        /// </summary>
        /// <returns></returns>
        Task<int> UpdateProcurementAsync(UpdateProcurementDto updateProcurementDto);
        /// <summary>
        /// 产品列表
        /// </summary>
        /// <param name="productCode"></param>
        /// <param name="productName"></param>
        /// <param name="page"></param>
        /// <param name="limit"></param>
        /// <returns></returns>
        Task<string> GetProductsAsync(string productCode = "", string productName = "", int page = 1, int limit = 10); 
    }
}
